package com.chris.datacnter.dao;


import com.chris.datacnter.model.DcRouteEo;
import com.core.data.jdbc.BaseDAO;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class DcRouteDAO extends BaseDAO {

    public List<DcRouteEo> getDataByns(String ns)
    {
        String condition = "ns='"+ns+"'";
        List<DcRouteEo> list = baseFindAllByCondition(condition,DcRouteEo.class);
        return list;
    }
}
